package com.h1909d.weinfo.ui.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.widget.FrameLayout;
import com.h1909d.weinfo.R;
import com.miguelcatalan.materialsearchview.MaterialSearchView;

public class SearchActivity extends AppCompatActivity {

    private Toolbar mToolbar;
    private MaterialSearchView mSearchView;
    private FrameLayout mToolbarContainer;
    private RecyclerView mRlv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_search);
        initView();
    }

    private void initView() {
        mToolbar = (Toolbar) findViewById(R.id.toolbar);
        mSearchView = (MaterialSearchView) findViewById(R.id.search_view);
        mToolbarContainer = (FrameLayout) findViewById(R.id.toolbar_container);
        mRlv = (RecyclerView) findViewById(R.id.rlv);
    }
}